package cn.push.embed.service;

import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;

import cn.push.embed.core.utils.Logger;

public class AlarmReceiver extends BroadcastReceiver {

    @Override
    public void onReceive(Context context, Intent intent) {
        //Logger.d("MyTag", "onclock......................");
        Logger.d("系统通知");
        if (PushService.handler!=null) {
            Logger.d("系统通知handler!=null");
            PushService.handler.sendEmptyMessage(PushService.ALARM_CLOCK);
        }
    }
}
